import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Person p = new Person();
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int age = scanner.nextInt();
            p.setAge(age);
            System.out.println(p.getAge());
        }
    }
}
class Person {
    private int age;
    public void setAge(int age){
        if(age < 0){
            this.age = 0;
        }else if(age > 200){
            this.age = 200;
        }else if(age >= 0 & age <= 200){
            this.age = age;
        }
    }
    public int getAge(){
        return age;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
